export default [
  {
    path: "/",
    name: "setting",
    component: () => import("../views/Index.vue"),
    meta: { title: "系统设置" },
    redirect: "/home",
    children: [
      {
        path: '/sys/dept/list',
        name: "dept",
        component: () => import("@/views/sys-setting/dept"),
        meta: { title: "部门管理" },
      },
      {
        path: '/dept/site',
        name: "deptSite",
        component: () => import("@/views/sys-setting/dept/site"),
        meta: { title: "部门站点管理" },
      },
      {
        path: '/user/list',
        name: "sysUser",
        component: () => import("@/views/sys-setting/user"),
        meta: { title: "系统用户" },
      },
      {
        path: '/sys/role/list',
        name: "role",
        component: () => import("@/views/sys-setting/role"),
        meta: { title: "角色管理" },
      },
      {
        path: '/sys/role/assign',
        name: "roleAssign",
        component: () => import("@/views/sys-setting/role/assignOperator.vue"),
        meta: { title: "分配权限" },
      },
      {
        path: '/sys/config/list',
        name: "sysConfig",
        component: () => import("@/views/sys-setting/config"),
        meta: { title: "参数配置" },
      },
      {
        path: '/sys/menu/list',
        name: "sysMenu",
        component: () => import("@/views/sys-setting/muen-setting"),
        meta: { title: "菜单配置" },
      },
    ],
  },
];
